
QT += core gui sql declarative xml network webkit
MOC_DIR = $$_PRO_FILE_PWD_/tmp/moc
RCC_DIR = $$_PRO_FILE_PWD_/tmp/rcc
OBJECTS_DIR = $$_PRO_FILE_PWD_/tmp/obj
TARGET = multimediaGallery
TEMPLATE = app
CONFIG += x86

#include (/usr/include/ebdebug/EBDebug.pri)

DEFINES += $$(IS_TOUCH_VERSION)
DEFINES += TOUCH_VERSION
INCLUDEPATH += .

contains( DEFINES, TOUCH_VERSION ) {
    #message("this is touch version")

} else {
    #message("this is not touch version, is key version")
}

SOURCES += main.cpp \
    myregisterclass.cpp \
   servicemanager.cpp \
    ebgalleryapplication.cpp
HEADERS  += \
    myregisterclass.h \
    servicemanager.h \
    appcommon.h \
    ebgalleryapplication.h

APP_FRAMEWORK += mainframework
include($$PWD/ebscreenmanager/EBScreenManager.pri)
include($$PWD/libs/libs.pri)
include($$PWD/compontents/compontents.pri)
include($$PWD/pages/pages.pri)
include($$PWD/views/views.pri)
include($$PWD/services/services.pri)
include($$PWD/mvcframework/mvcframework.pri)


OTHER_FILES += \
    cn/qml/script/script.js \
    cn/qml/qmlItem/ImageShowItem.qml \
    cn/qml/filmpage.qml \
    cn/qml/qmlItem/Category.qml \
    cn/qml/filmdetailpage.qml \
    cn/qml/musicplayingpage.qml \
    cn/qml/homepage.qml \
    cn/qml/qmlItem/FourButtons.qml \
    cn/qml/qmlItem/MovieWall.qml \
    cn/qml/qmlItem/TurnoverView.qml \
    cn/qml/qmlItem/BackButton.qml \
    cn/qml/qmlItem/RollBackButtons.qml \
    cn/qml/qmlItem/PhotoRiver.qml \
    cn/qml/qmlItem/PhotoRiverImageDelegate.qml \
    cn/qml/photoriverpage.qml \
    cn/qml/qmlItem/ShowFullImage.qml \
    cn/qml/welcomepage.qml \
    cn/qml/qmlItem/AboutInfo.qml




## Add more folders to ship with the application, here
#folder_01.source = cn/qml
#folder_01.target = qml
#DEPLOYMENTFOLDERS = folder_01

#folder_01.source = cn/qml
#folder_01.target = cn/qml
#DEPLOYMENTFOLDERS += folder_01

#folder_02.source = cn/images
#folder_02.target = cn/images
#DEPLOYMENTFOLDERS += folder_02


#xml_config.source = ./page_node_file.xml \
 #   ./services.xml
#xml_config.target = ./
#DEPLOYMENTFOLDERS += xml_config


#sources.files = \
#    cn/images/film \
#    cn/images/info \
#    cn/images/sys \
#    cn/images/music \
#    cn/qml \
#    cn/qml/qmlItem \
#    cn/qml/scripts

#sources.path = ./
#INSTALLS += sources


# Additional import path used to resolve Qml modules in Creator's code model
QML_IMPORT_PATH =

# Avoid auto screen rotation
DEFINES += ORIENTATIONLOCK

# Needs to be defined for Symbian
#DEFINES += NETWORKACCESS

symbian:{
    TARGET.EPOCALLOWDLLDATA = 1
    TARGET.UID3 = 0xe3ed1911
#    TARGET.CAPABILITY = All
    ICON = multimediaGallery.svg
#    TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
#    include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
#    qmlminehuntfiles.sources = MinehuntCore minehunt.qml
#    DEPLOYMENT = qmlminehuntfiles
    qml_mmg.source = ./cn
    qml_mmg.target = ./
    DEPLOYMENTFOLDERS += qml_mmg

    VedioFiles.sources = ./EBVedios/EB_Company_Multimedia.3gp
    VedioFiles.path = /data/Videos/
    DEPLOYMENT += VedioFiles


    xml_config.source = ./page_node_file.xml \
                        ./services.xml \
                        ./multimediaGallery.sqlite3
    xml_config.target = ./
    DEPLOYMENTFOLDERS += xml_config

}

# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()
